package com.resume.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author: 梁云亮
 * @Date: 2021/7/17 9:47
 * @Describe:行业职业
 */
@ApiModel(value = "行业职业：HangYe")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tb_hang_ye")
public class HangYe implements Serializable {
    private static final long serialVersionUID = -8502841734643495048L;
    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "编号")
    private Integer id;

    /**
     * 名称
     */
    @TableField(value = "name")
    @ApiModelProperty(value = "名称")
    private String name;

    /**
     * 父类编号
     */
    @TableField(value = "pid")
    @ApiModelProperty(value = "父类编号")
    private Integer pid;

    /**
     * 显示优先级
     */
    @TableField(value = "priority")
    @ApiModelProperty(value = "显示优先级")
    private Integer priority;

    /**
     * 状态：1正常，2禁止
     */
    @TableField(value = "status")
    @ApiModelProperty(value = "状态：1正常，2禁止")
    private Integer status;
}